import request from '@/utils/axios/axios-service.ts'
//列表
export const orderPayList = (params: any) => request.get('/v1/trade', {params: params})
//回调
export const orderPayNotify = (data:any,params: any) => request.put('/v1/trade',  data, {params: params})
//退款
export const orderPayRefund = (data:any,params: any) => request.post('/v1/refund', data, {params: params})
//订单确认
export const orderPayConfirm = (data:any,params: any) => request.put('/v1/trade', data, {params: params})
//订单结算
export const orderPaySettle = (data:any,params: any) => request.put('/v1/trade', data, {params: params})

//代付列表
export const transPayList = (params: any) => request.get('/v1/trans', {params: params})

//代付 回调
export const transPayNotify = (data:any,params: any) => request.put('/v1/trans', data, {params: params})


